<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>w微信滑动门</title>
	<style type="text/css">
	 body,div,ul,li,a,dl,dt,dd,h1,h2,h3,h4,h5,h6,input{
		margin: 0;
		padding: 0;
	}
		.header{
			height: 62px;
			background: url("weixin_bg1d20af.jpg");
		}
		.nav{
			height: 55px;
			width: 600px;
			margin: 0 auto;

		}
		.nav li {
			list-style: none;
			float: left;
			margin-right: 50px;
			margin-left: 50px;
			margin-top: 15px;

		}
		.nav li a{
			text-decoration: none;
			display: inline-block;
			height: 33px;
			line-height: 33px;
			color: #fff;
			background: url("bg.png") no-repeat 0 -144px;
			padding-left: 13px;	
		}
		.nav li a span{
			display: inline-block;
			height: 33px;
			line-height: 33px;
			background: url("bg.png") no-repeat right -144px;
			padding-right: 13px;
		}
		.nav li a:hover{
			background: url("bg.png") no-repeat 0 -192px;
		}
		.nav li a span:hover{
			background: url("bg.png") no-repeat right -192px;
		}
	</style>
</head>
<body>
	<div class="header">
		<div class="nav"><li><a href="#"><span>首页</span></a></li>
		<li><a href="#"><span>活动</span></a></li>
		<li><a href="#"><span>瓜迪奥拉</span></a></li></div>
	</div>
</body>
</html>